From bb1c82be9087d2297c9af0f3e05657c1db85320c Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Thu, 24 Aug 2017 16:27:51 +0200 Subject: [PATCH] Exclude the *.a files because we can't build them right now --- debian/vendor-tarball-filter.txt | 10 ++++++++++ debian/vendor-tarball-unsuspicious.txt | 5 ----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/vendor-tarball-filter.txt b/debian/vendor-tarball-filter.txt index c5881001e..780d28224 100644 --- a/debian/vendor-tarball-filter.txt +++ b/debian/vendor-tarball-filter.txt @@ -5,6 +5,16 @@ libgit2-sys-*/libgit2*/ libssh2-sys-*/libssh2*/ libz-sys-*/src/zlib-*/ strsim-*/docs/ +# pre-built archive for WinAPI +# infinity0: So the libfoo.a in my hundreds of -sys crates are from MinGW-w64 +# infinity0: They're import libraries that only matter when targetting pc-windows-gnu +# infinity0: And even then they only matter when the user doesn't have a full MinGW-w64 installation already +# so for now we just omit them because we don't target windows in Debian (yet) +# in the future we will have to figure out how to build them, as follows: +# well, how do we know it's free software if we don't have the build scripts for it? +# infinity0: Well, the .def files are in the winapi repo +# infinity0: and you can uh... run whatever mingw tool to create the import libraries from those .def files +dbghelp-sys-*/*/*.a # To clean deps before making a new tarball, run # grep -v '^#' debian/deps-tarball-filter.txt | xargs -I% sh -c 'rm -rf %' diff --git a/debian/vendor-tarball-unsuspicious.txt b/debian/vendor-tarball-unsuspicious.txt index e4cf97327..7c93d084b 100644 --- a/debian/vendor-tarball-unsuspicious.txt +++ b/debian/vendor-tarball-unsuspicious.txt @@ -32,8 +32,3 @@ winapi-*/src/winnt.rs itoa-*/performance.png dtoa-*/performance.png backtrace-sys-*/src/libbacktrace/configure - -# Audited manually needed by dependencies -# pre-built archive for WinAPI -dbghelp-sys-*/i686/libdbghelp.a -dbghelp-sys-*/x86_64/libdbghelp.a -- 2.30.2